package lmf;

import java.util.ArrayList;

import org.w3c.dom.Document;
import org.w3c.dom.NodeList;

public class AlbumArrayLFM {

	public ArrayList<AlbumLFM> albums;
	
	public AlbumArrayLFM(Document doc) {
		albums = new ArrayList<AlbumLFM>();
		NodeList nl = doc.getElementsByTagName("album");
		for (int i = 0; i < nl.getLength(); i++) {
			albums.add(new AlbumLFM(nl.item(i)));
		}
	}

}
